package com.angola.sms.network

import com.angola.sms.model.*
import retrofit2.Call
import retrofit2.http.*

interface NetLaunchService {

    /**
     * 获取版本号
     */
    @POST("/maozy/v1/dun/appVersion")
    fun getAppVersion(@Body toBase: ToBase): Call<RevAppVersion>

    /**
     * 验证码登录
     */
    @POST("/maozy/v1/dun/userLogin")
    fun doLogin(@Body doLoginReq: ToDoLoginTo): Call<RevDoLogin>

}